package com.dhl.proxy.jdkproxy;

/**
 * @title: Cilent
 * @Author danghailiang
 * @Date: 2022/8/16 14:04
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new ThacherDao());
        IThacherDao instance = (IThacherDao)proxyFactory.getInstance();
        instance.teach();
    }
}
